package com.wsoft.im.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Z001
 * @since 2025年01月14日 09:21:58
 */
@Getter
@Setter
@TableName("im_message_single_his")
@Schema(name = "ImMessageSingleHisEntity", description = "")
public class ImMessageSingleHisEntity extends BaseEntity {

    @Schema(description = "发送人")
    @TableField("from_member_id")
    private String fromMemberId;

    @Schema(description = "接收人")
    @TableField("to_member_id")
    private String toMemberId;

    @Schema(description = "消息是否已读 0 未读  1 已读")
    @TableField("readed")
    private Integer readed;

    @Schema(description = "消息类型")
    @TableField("msg_type")
    private String msgType;

    @Schema(description = "消息内容")
    @TableField("msg_data")
    private String msgData;

    @Schema(description = "发送时间")
    @TableField("send_time")
    private LocalDateTime sendTime;
}
